# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2023年03月13日
"""
import openpyxl

myBook = openpyxl.load_workbook('员工表.xlsx')
mySheet=myBook.active
mySheet.protection.password='123456'
myBook.save('结果表-员工表.xlsx')